mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-06-15 05:14:20 -06:00
fix(actions
): should now upload to dockerhub automatically
This commit is contained in:
parent
6528525b7b
commit
68d1cb9a63
0
.dockerignore
Normal file
0
.dockerignore
Normal file
2
.github/workflows/Actions.yaml
vendored
2
.github/workflows/Actions.yaml
vendored
@ -47,7 +47,7 @@ jobs:
|
||||
Dockerhub:
|
||||
runs-on: ubuntu-latest
|
||||
needs: ruffLint # will only run if linter is successful
|
||||
if: github.ref == 'refs/heads/main' # Runs only if the push/PR merge is to 'main'
|
||||
if: ${{ github.ref == 'refs/heads/main' || github.event.pull_request.merged == true }} # Runs if it's a push to 'main' or a merged PR to 'main'
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user