Skip to content

Merge pull request #22 from evilfactorylabs/dependabot/github_actions… #54

Merge pull request #22 from evilfactorylabs/dependabot/github_actions…

Merge pull request #22 from evilfactorylabs/dependabot/github_actions… #54

Workflow file for this run

name: github pages
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup
uses: actions/[email protected]
with:
node-version: '14'
- name: cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
cname: resources.evilfactorylabs.org