regenerate all maps and upload #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "regenerate all maps and upload" | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: "Install python requirements" | |
run: | | |
pip3 install -r requirements.txt | |
- name: "Install shell requirements" | |
run: | | |
sudo apt -y install dos2unix | |
- name: "Build PR" | |
run: | | |
bash -x ./build.sh myoutdir | |
env: | |
PREVIOUS_COMMIT_PR: ${{ github.event.pull_request.base.sha }} | |
PREVIOUS_COMMIT: ${{ github.event.before }} | |
BUILD_MAPS: true | |
- name: "Deploy Push" | |
run: | | |
./deploy.sh myoutdir | |
env: | |
DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }} | |
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
DEPLOY_PATH: ${{ secrets.DEPLOY_PATH }} | |
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} | |
DEPLOY_USER: ${{ secrets.DEPLOY_USER }} |