ci(shuttle): fix deployment (#236)

* ci(shuttle): fix deployment

* chore: add dummy file to trigger pipeline

* chore: remove dummy file to trigger pipeline

* ci(shuttle): remove dorny/paths-filter
This commit is contained in:
Helmut K. C. Tessarek 2024-02-06 12:31:46 -05:00 committed by GitHub
parent 48a3626c7d
commit e06c18279e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 14 deletions

View File

@ -6,9 +6,6 @@ on:
- master
tags:
- "v*.*.*"
pull_request:
branches:
- master
workflow_dispatch:
jobs:
@ -24,12 +21,6 @@ jobs:
toolchain: stable
profile: minimal
override: true
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
manifest:
- 'Cargo.**'
- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall
- name: Install cargo-shuttle
@ -40,11 +31,7 @@ jobs:
- name: Build
run: cargo build --locked --verbose
- name: Deploy
if: |
${{ startsWith(github.event.ref, 'refs/tags/v') ||
github.event_name == 'workflow_dispatch' ||
steps.changes.outputs.manifest == 'true'
}}
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' }}
run: |
cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }}
cargo shuttle project restart