Skip to content

Commit

Permalink
Fix deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoalramos committed Apr 7, 2022
1 parent 204941b commit e0c23e7
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/gatsby-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Deploy Gatsby App
run: npm run build

- uses: enriikke/gatsby-gh-pages-action@v2
uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
deploy-branch: gh-pages

0 comments on commit e0c23e7

Please sign in to comment.