Add publish to pipeline.
Update deployment docs. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
c68d5c075f
commit
df55b42d29
12 changed files with 234 additions and 105 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -60,12 +60,12 @@ jobs:
|
|||
sys_targets: ${{vars.sys_TARGETS}}
|
||||
sys_versions: ${{vars.SYS_VERSIONS}}
|
||||
machines: ${{vars.MACHINES}}
|
||||
complement: true
|
||||
complement: ${{fromJSON(vars.COMPLEMENT || 'true')}}
|
||||
|
||||
package:
|
||||
if: ${{ !failure() && !cancelled() }}
|
||||
name: Package
|
||||
needs: [test]
|
||||
needs: [lint]
|
||||
uses: ./.github/workflows/package.yml
|
||||
with:
|
||||
cargo_profiles: '["release"]'
|
||||
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
publish:
|
||||
if: ${{ !failure() && !cancelled() }}
|
||||
name: Publish
|
||||
needs: [package]
|
||||
needs: [test, package]
|
||||
uses: ./.github/workflows/publish.yml
|
||||
with:
|
||||
cargo_profiles: '["release"]'
|
||||
|
|
@ -91,3 +91,6 @@ jobs:
|
|||
rust_targets: ${{vars.RUST_TARGETS}}
|
||||
sys_targets: ${{vars.sys_TARGETS}}
|
||||
machines: ${{vars.MACHINES}}
|
||||
secrets:
|
||||
dockerhub_token: ${{ secrets.dockerhub_token }}
|
||||
ghcr_token: ${{ secrets.ghcr_token }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue