Skip to content

Commit

Permalink
artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed May 24, 2024
1 parent 4703bd3 commit 266460d
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/stage_online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,6 @@ jobs:
cd ./DO/infra
terraform apply terraform.tfplan
- name: Display and Checks
run: |
ls -la ${{ github.workspace }}/test/inventory/
ls -la ${{ github.workspace }}/test/DO/infra/
ls -la ${{ github.workspace }}/test/DO/infra/
cat inventory/hosts.ini
# No relative path allowed
- name: Inventory artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -136,15 +129,17 @@ jobs:
- name: Check if inventory present
run: |
ls -la ${{ github.workspace }}
ls -la ${{ github.workspace }}/test
ls -la ${{ github.workspace }}/test/DO
ls -la ${{ github.workspace }}/test/inventory/
ls -la ${{ github.workspace }}/test/DO/infra/
cat ${{ github.workspace }}/hosts.ini
cat ${{ github.workspace }}/test/hosts.ini
- name: Get key and hosts.ini
run: |
cp ${{ github.workspace }}/hosts.ini inventory/hosts.ini
cp ${{ github.workspace }}/.key.private DO/infra/.key.private
cp ${{ github.workspace }}/.key.pub DO/infra/.key.pub
cp ${{ github.workspace }}/test/hosts.ini inventory/hosts.ini
cp ${{ github.workspace }}/test/.key.private DO/infra/.key.private
cp ${{ github.workspace }}/test/.key.pub DO/infra/.key.pub
shell: bash

- name: Set up Python
Expand Down

0 comments on commit 266460d

Please sign in to comment.