Merge pull request #8 from itsscb/ft-add-github-action-for-deployment
ft/adds commit after build
This commit is contained in:
commit
8c08b632b7
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -35,6 +35,10 @@ 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
|
||||||
@ -45,8 +49,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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user