-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Inject env variables | ||
uses: rlespinasse/github-slug-action@v3.x | ||
- uses: actions/setup-node@v3 | ||
uses: rlespinasse/github-slug-action@v5 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/*' | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
npm install | ||
npm run build | ||
|
@@ -33,7 +33,7 @@ jobs: | |
cp errors.json gh-pages/errors.json | ||
cp -rv assets/. gh-pages/assets/ | ||
- name: deploy to root (master) | ||
uses: peaceiris/actions-gh-pages@v3 | ||
uses: peaceiris/actions-gh-pages@v4 | ||
if: ${{ env.GITHUB_REF_SLUG == 'master' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -42,7 +42,7 @@ jobs: | |
user_name: 'openEO CI' | ||
user_email: [email protected] | ||
- name: deploy to ${{ env.GITHUB_REF_SLUG }} | ||
uses: peaceiris/actions-gh-pages@v3 | ||
uses: peaceiris/actions-gh-pages@v4 | ||
if: ${{ env.GITHUB_REF_SLUG != 'master' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters