From f78f2468e707c5704fe7150b47e2d4fa15d14d10 Mon Sep 17 00:00:00 2001 From: Raimon Grau Date: Mon, 19 Jul 2021 09:31:08 +0100 Subject: [PATCH] Use gh actions --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7c923d3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build +on: + pull_request: + push: + schedule: + - cron: '0 2 * * *' +jobs: + build: + name: build + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v2 + - run: "chmod +x ${GITHUB_WORKSPACE}/dash-to-dash.sh" + - run: "${GITHUB_WORKSPACE}/dash-to-dash.sh >${GITHUB_WORKSPACE}/index.html" + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.4 + with: + branch: gh-pages # The branch the action should deploy to. + folder: . # The folder the action should deploy.