From 42ffa2b6df93e60bad58a14f89e6270f2f3a2928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 11 Jun 2020 11:32:17 +0200 Subject: [PATCH 1/2] Meta: migrate to GitHub Actions Part of https://github.com/whatwg/meta/issues/173. --- .github/workflows/deploy.yml | 17 +++++++++++++++++ .gitignore | 2 -- .travis.yml | 17 ----------------- 3 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/deploy.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8b996d5 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: deploy +on: + push: + branches: + - master +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - 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 1710fad..a0a0c52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ /fullscreen.spec.whatwg.org/ /deploy.sh -/deploy_key -/deploy_key.pub /fullscreen.html /review.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d8e716c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: generic - -env: - global: - - ENCRYPTION_LABEL="f5b0eb183bc9" - -script: - - make deploy - -branches: - only: - - master - -notifications: - email: - on_success: never - on_failure: always From d6733f2b07483e2ce8772d57a199152873f69013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 11 Jun 2020 11:33:41 +0200 Subject: [PATCH 2/2] REVERTME: try it in action --- .github/workflows/deploy.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8b996d5..c8a854c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: deploy on: push: branches: - - master + - github-actions jobs: deploy: runs-on: ubuntu-20.04 diff --git a/Makefile b/Makefile index 0d466b8..11f5788 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ local: fullscreen.bs bikeshed spec fullscreen.bs fullscreen.html --md-Text-Macro="COMMIT-SHA LOCAL COPY" deploy: fullscreen.bs - curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh + curl --remote-name --fail https://raw.githubusercontent.com/whatwg/whatwg.org/github-actions-spec-deploy/resources.whatwg.org/build/deploy.sh bash ./deploy.sh review: fullscreen.bs