digitales-heizhaus/.github/workflows/build-and-deploy.yml
2021-02-10 17:48:36 +01:00

41 lines
890 B
YAML

name: Optimize map and deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Optimize map
uses: thecodingmachine/map-optimizer-action@master
- name: Bash
run: |
ls -al
git config --global user.email "d.negrier@thecodingmachine.com"
git config --global user.name "David Négrier"
git checkout master
git commit -am "Adding files"
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: . # The folder the action should deploy.
BASE_BRANCH: master
- name: Bash2
run: |
ls -al