Skip to content

Commit

Permalink
Update render-spec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
decentralgabe authored Oct 27, 2023
1 parent 824b28e commit 44e265a
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/render-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@ on:
push:
branches:
- main

jobs:
build-and-deploy-spec:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install and Build 🔧
run: |
cd spec
npm install
npm run build
pwd
ls -alt
npm run build
- name: Deploy
uses: peaceiris/[email protected]
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /spec/build
allow_empty_commit: true
force_orphan: true
path: './sped/build'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 44e265a

Please sign in to comment.