Fix workflow: use git clone instead of actions/checkout (no Node.js in host mode)
Build & Deploy / deploy (push) Failing after 12m11s
Build & Deploy / deploy (push) Failing after 12m11s
This commit is contained in:
@@ -9,10 +9,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
rm -rf site-vitrine
|
||||
git clone --depth 1 --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git site-vitrine
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t site-vitrine:latest .
|
||||
run: docker build -t site-vitrine:latest ./site-vitrine
|
||||
|
||||
- name: Deploy container
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user