Skip to content

Commit

Permalink
Fixed outdated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
rosalinekarr committed Mar 26, 2024
1 parent 8d43c9e commit d0356b4
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@ on:

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build
uses: jzweifel/gatsby-cli-github-action@master
uses: enriikke/gatsby-gh-pages-action@v2
with:
gatsby-arg: build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: www.rosalinekarr.com
access-token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit d0356b4

Please sign in to comment.