File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 setup :
1919 runs-on : ubuntu-latest
20+ permissions :
21+ contents : read
2022 environment : ${{ github.event.inputs.environment != '' && github.event.inputs.environment || (github.ref == 'refs/heads/main' && 'Production' || 'Staging') }}
2123 outputs :
2224 charm_name : ${{ steps.setup-vars.outputs.charm_name }}
3840 needs : setup
3941 name : Deploy
4042 uses : canonical/webteam-devops/.github/workflows/deploy.yaml@main
43+ permissions :
44+ contents : read
45+ deployments : write
4146 with :
4247 environment : ${{ needs.setup.outputs.environment }}
4348 charm_name : ${{ needs.setup.outputs.charm_name }}
Original file line number Diff line number Diff line change 7676
7777 pack-rock :
7878 runs-on : ubuntu-latest
79+ permissions :
80+ contents : read
7981 steps :
8082 - uses : actions/checkout@v4
8183
You can’t perform that action at this time.
0 commit comments