chore(history): preserve legacy v1 history #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: deploy-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| name: Verify Roku app | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Verify repository | |
| run: make verify | |
| deploy: | |
| name: Publish Roku artifact | |
| runs-on: ubuntu-latest | |
| needs: verify | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Build release artifact | |
| run: make artifact | |
| - name: Upload GitHub artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: putio-roku-v2 | |
| path: dist/apps/putio-roku-v2.zip | |
| - name: Upload artifact to S3 | |
| uses: shallwefootball/upload-s3-action@v1.3.3 | |
| with: | |
| aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws_bucket: putio-static | |
| source_dir: dist/apps | |
| destination_dir: dl/ |