Skip to content

Merge pull request #20 from karelmaxa/add-analytics #38

Merge pull request #20 from karelmaxa/add-analytics

Merge pull request #20 from karelmaxa/add-analytics #38

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 'wrensecurity@users.noreply.github.com'
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