diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..435fd164b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build +on: + pull_request: + branches: + - master + push: + branches: + - master +jobs: + build: + name: Build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + # Note: `python` will also be this version, which various scripts depend on. + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + # Note: `make deploy` will do a deploy dry run on PRs. + - run: make deploy + env: + SERVER: ${{ secrets.MARQUEE_SERVER }} + SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }} + SERVER_DEPLOY_KEY: ${{ secrets.MARQUEE_DEPLOY_KEY }} diff --git a/.gitignore b/.gitignore index e24fd3355..c23dedefa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ /dom.spec.whatwg.org/ /deploy.sh -/deploy_key -/deploy_key.pub /dom.html /review.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f58210e78..000000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: generic - -env: - global: - - ENCRYPTION_LABEL="0a03797be0f9" - -script: - - make deploy - -branches: - only: - - master - -notifications: - email: - on_success: never - on_failure: always diff --git a/deploy_key.enc b/deploy_key.enc deleted file mode 100644 index a9bfb780d..000000000 Binary files a/deploy_key.enc and /dev/null differ