1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 04:37:48 +02:00

Change the way licenses are uploaded

This commit is contained in:
Dlurak 2024-01-02 20:41:06 +01:00
parent 80df7e940d
commit 330e2bfc1c

View File

@ -40,9 +40,10 @@ jobs:
env:
JEKYLL_ENV: production
- name: Build static licenses
run: |
mkdir "${{ steps.pages.outputs.base_path }}"
cp ./_licenses/* "${{ steps.pages.outputs.base_path }}"
uses: actions/upload-artifact@v2
with:
name: licenses
path: _licenses
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3