Skip to content

Commit

Permalink
copy file to server
Browse files Browse the repository at this point in the history
  • Loading branch information
guss84 committed Dec 5, 2023
1 parent 34a8815 commit 67a063a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
working-directory: ./rest
run: pipenv install --dev

- name: create env file
- name: create andenv file
working-directory: ./rest/
run: |
echo "AWS_ACCESS_KEY_ID=${{ secrets.TESTINGDATA_AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -93,6 +93,16 @@ jobs:
docker push "$TESTING_ECR_REGISTRY/$TESTING_ECR_REGISTRY_IMAGE:$GITHUB_REF_NAME"
docker push "$TESTING_ECR_REGISTRY/$TESTING_ECR_REGISTRY_IMAGE:latest"
- name: copy file via ssh key
uses: appleboy/[email protected]
with:
key: ${{ secrets.TESTING_SSH_PRIVATE_KEY }}
host: ${{ secrets.TESTING_SSH_HOST }}
username: ${{ secrets.TESTING_USER_NAME }}
source: "rest/.env"
target: /openEO
overwrite: true

- name: pull docker image and run
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit 67a063a

Please sign in to comment.