-
Hello and thanks for building this action! However, I'm getting This is my config: deploy:
runs-on: ubuntu-latest
needs:
- build-and-push-images
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create env file
run: |
echo "GIT_COMMIT_HASH=${{ github.sha }}" >> ./envfile
echo "REMOTE_HOST=${{ secrets.REMOTE_HOST }}" >> ./envfile
echo "CDN_HOST=${{ secrets.CDN_HOST }}" >> ./envfile
echo "CODENAME=${{ secrets.CODENAME }}" >> ./envfile
- name: Deploy stack
uses: cssnr/stack-deploy-action@v1
with:
name: ${{ secrets.CODENAME }}
file: compose.yaml
host: ${{ secrets.REMOTE_HOST }}
user: ${{ secrets.DEPLOY_USER }}
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
env_file: ./envfile Double checked repository secrets, everything is fine. Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
davidarny
Dec 3, 2024
Replies: 1 comment
-
Nevermind please, tripple checked secrets and found a typo 🙈 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidarny
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind please, tripple checked secrets and found a typo 🙈