Github Actions + Envoyer
I am going through and updating my deployment process. I am using GitHub actions to build my production assets (CSS, JS and images) which produces an artifact. I want to be able to download this artifact via the envoyer script.
If I could do something like this: https://envoyer.io/deploy/…?artifact=10005/artifacts/1005, I could get this data to the deploy URL and then be able to do a CURL to download the artifact from GitHub.
My script is as follows:
deploy:
name: Deploy to Staging
runs-on: ubuntu-latest
needs: [build-js]
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v1
- name: Download build assets
uses: actions/download-artifact@v1
with:
name: assets
path: public
- name: Send notification to Envoyer
uses: wei/curl@master
with:
args: https://envoyer.io/deploy/…
Is this possible with the current setup of Envoyer? Have you guys had any experience with people building assets from a CI service like this?
Look forward to hearing your response,
Please or to participate in this conversation.