Merge pull request #9 from itsscb/revert-8-ft-add-github-action-for-deployment

Revert "ft/adds commit after build"
This commit is contained in:
itsscb 2024-06-01 01:06:25 +02:00 committed by GitHub
commit 8531520665
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,10 +35,6 @@ jobs:
- name: Rename Trunk.toml back - name: Rename Trunk.toml back
run: mv Trunk.bkp Trunk.toml run: mv Trunk.bkp Trunk.toml
working-directory: ./frontend working-directory: ./frontend
- name: Commit build files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Build files from GitHub Actions"
# Deploy backend # Deploy backend
- name: Install Rust - name: Install Rust
@ -49,8 +45,8 @@ jobs:
- name: Deploy to shuttle.rs - name: Deploy to shuttle.rs
uses: shuttle-hq/deploy-action@main uses: shuttle-hq/deploy-action@main
with: with:
allow-dirty: "true"
deploy-key: ${{ secrets.SHUTTLE_TOKEN }} deploy-key: ${{ secrets.SHUTTLE_TOKEN }}
# allow-dirty: "true"
# run: cargo install --locked cargo-shuttle # run: cargo install --locked cargo-shuttle
# - name: Deploy to Shuttle # - name: Deploy to Shuttle
# env: # env: