Skip to content

Merge pull request #1 from RodrigoSdeCarvalho/update-database #12

Merge pull request #1 from RodrigoSdeCarvalho/update-database

Merge pull request #1 from RodrigoSdeCarvalho/update-database #12

Workflow file for this run

name: "deploy"
on: push
jobs:
deploy-gh-pages:
name: Deploy
runs-on: ubuntu-latest
container:
image: caravelahc/matrufsc:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile
run: |
./configure --base-path=bin
SITE_PATH=bin make
- name: Deploy
run: |
git config user.email [email protected]
git config user.name caravelabot
git remote add pages https://caravelabot:${DEPLOY_ACCESS_TOKEN}@github.com/caravelahc/beta-matrufsc.git
git fetch
git checkout -f gh-pages
cp bin/* .
git add -u
git commit -m "Deploy $(git log -n1 --format=format:'%h')" || true
git push pages gh-pages -f