Skip to content

Merge pull request #25 from karelmaxa/wrenig #42

Merge pull request #25 from karelmaxa/wrenig

Merge pull request #25 from karelmaxa/wrenig #42

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '17'
cache: 'npm'
- run: npm install
- run: npm run site:build
- run: |
git config --global user.name 'wrensecurity'
git config --global user.email '[email protected]'
cd site/.vitepress/dist
git init && git checkout -b main
git add -A
git commit -m 'Deploy ${{ github.sha }}'
git push -f https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/WrenSecurity/wrensecurity.org.git main:gh-pages