diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index c5de0023..fac35f5d 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -25,24 +25,24 @@ jobs: - run: yarn install && yarn webpack && yarn build - run: yarn release - run: yarn deploy:prod --token ${{ secrets.FIREBASE_TOKEN }} - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./extension.zip - asset_name: chrome-extension.zip - asset_content_type: application/zip + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./extension.zip + asset_name: chrome-extension.zip + asset_content_type: application/zip diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 80ff3b2f..6760cf8d 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -23,8 +23,8 @@ jobs: - run: yarn install && yarn webpack && yarn build - run: yarn release - run: yarn deploy:staging --token ${{ secrets.FIREBASE_TOKEN }} - - name: Upload artifacts - uses: actions/upload-artifact@v2 + - name: Upload artifacts + uses: actions/upload-artifact@v2 with: - name: chrome-extension + name: chrome-extension path: extension