Skip to content

Commit

Permalink
Merge pull request #20 from VoltrexKeyva/update-actions
Browse files Browse the repository at this point in the history
meta: update GitHub Actions workflows
  • Loading branch information
rbuckton authored Jan 17, 2024
2 parents 8556f55 + 2ff0ca5 commit d83db6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: npm install --legacy-peer-deps
- run: npm run compile
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.number }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: npm install --legacy-peer-deps
- run: npm run compile
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
target-folder: pr/${{ github.event.number }}/
- id: get-preview-url
name: Get preview url
run: echo "::set-output name=preview-url::https://tc39.es/$(basename $GITHUB_REPOSITORY)/pr/${{ github.event.number }}"
run: echo "preview-url=https://tc39.es/$(basename "$GITHUB_REPOSITORY")/pr/${{ github.event.number }}" >> "$GITHUB_OUTPUT"
shell: bash
- name: Post Preview Comment
uses: phulsechinmay/[email protected]
Expand Down

0 comments on commit d83db6c

Please sign in to comment.