Skip to content

Commit

Permalink
Remove old code from gh action file
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibson666 committed Apr 11, 2024
1 parent 5e21644 commit 75374de
Showing 1 changed file with 0 additions and 78 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,81 +35,3 @@ jobs:
build_command: npm run build-pages # default: npm run build-storybook
path: .public # default: dist/storybook
checkout: false # default: true






























jobs:
build:
name: build static content
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: npm
- run: npm ci # runs clean-install
- run: npm run build-pages # build all static sites in all packages

- name: Archive artifact
shell: sh
if: runner.os == 'Linux'
run: |
tar \
--dereference --hard-dereference \
--directory ".public" \
-cvf "$RUNNER_TEMP/artifact.tar" \
--exclude=.git \
--exclude=.github \
.
- uses: actions/upload-artifact@v3
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
retention-days: "1"
if-no-files-found: error

deploy:
needs: build

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 75374de

Please sign in to comment.