Skip to content

Commit

Permalink
chore: fix github action indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Nov 21, 2024
1 parent 3f9b182 commit 376568d
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,31 @@ on:
release:
types: [created]

jobs:
build:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 23
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Build
if: success()
run: npm run build
if: success()
- name: Deploy - https://draggable.github.io/formeo/
if: success()
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./dist/demo

jobs:
release:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 23
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Build
if: success()
run: npm run build
if: success()
- name: Deploy - https://draggable.github.io/formeo/
if: success()
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./dist/demo

0 comments on commit 376568d

Please sign in to comment.