diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 518254c6a..f20223756 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -463,10 +463,20 @@ jobs: steps: - uses: actions/checkout@v2 + with: + repository: sass/sass-site + token: ${{ secrets.GH_TOKEN }} - name: Deploy run: tool/github-action/deploy/heroku.sh env: {HEROKU_TOKEN: "${{ secrets.HEROKU_TOKEN }}"} + - uses: EndBug/add-and-commit@v8 + with: + author_name: Sass Bot + author_email: sass.bot.beep.boop@gmail.com + message: Cut a release for a new Dart Sass version + commit: --allow-empty + release_embedded_compiler: name: "Release Embedded Compiler" runs-on: ubuntu-latest diff --git a/tool/github-action/deploy/heroku.sh b/tool/github-action/deploy/heroku.sh deleted file mode 100755 index 5f4131992..000000000 --- a/tool/github-action/deploy/heroku.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -e -# Copyright 2018 Google Inc. Use of this source code is governed by an MIT-style -# license that can be found in the LICENSE file or at -# https://opensource.org/licenses/MIT. - -curl https://kolkrabbi.heroku.com/apps/98fc74a8-ff56-4a21-85f6-7a1fc8ba95c9/github/push \ - -H "Content-Type: application/json" \ - -H "Accept: application/json, text/javascript, */*; q=0.01" \ - -H "Authorization: Bearer $HEROKU_TOKEN" \ - -H "accept-encoding: gzip, deflate, br" \ - -H "accept-language: en-US,en;q=0.9" \ - -H "origin: https://dashboard.heroku.com" \ - -H "referer: https://dashboard.heroku.com/" \ - -d '{"branch":"main"}' \ - --fail --output -