fix: grow overview_stats total_seconds played (#1399) #286
Workflow file for this run
This file contains 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
on: | |
push: | |
branches-ignore: | |
- '**' | |
tags: | |
- v* | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: production | |
url: 'https://leafapp.co' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- name: Set env | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- name: Set version file | |
run: echo "${GITHUB_REF#refs/*/}" > VERSION | |
- name: Install NPM Dependencies | |
run: npm ci | |
- name: Asset Packaging | |
run: npm run build | |
- name: Deploy | |
uses: deployphp/action@v1 | |
with: | |
private-key: ${{ secrets.DEPLOY_SECRET_KEY }} | |
dep: deploy -vvv | |
deployer-version: "7.1.4" | |
- uses: getsentry/action-release@v1 | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} | |
with: | |
sourcemaps: './public/build/assets' | |
url_prefix: '~/build/assets' | |
version: ${{ env.RELEASE_VERSION }} | |
environment: production | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
draft: false | |
prerelease: false | |
name: ${{ env.RELEASE_VERSION }} | |
tag_name: ${{ env.RELEASE_VERSION }} | |
generate_release_notes: true |