Update dns records to latest #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nullstone | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| # Checkout the repository to the GitHub Actions runner | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| # Package files into tgz | |
| - name: Package | |
| run: tar -cvzf module.tgz *.tf README.md | |
| - name: Find version | |
| id: version | |
| run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/v} | |
| # Publish to nullstone | |
| - name: Publish | |
| env: | |
| NULLSTONE_ORG: nullstone | |
| NULLSTONE_MODULE: aws-webflow-dns | |
| RELEASE_VERSION: ${{ steps.version.outputs.tag }} | |
| run: |- | |
| curl -XPOST -F "file=@module.tgz" -H "X-Nullstone-Key: ${{ secrets.NULLSTONE_API_KEY }}" \ | |
| https://api.nullstone.io/orgs/${NULLSTONE_ORG}/modules/${NULLSTONE_MODULE}/versions?version=${RELEASE_VERSION} |