Skip to content

Update dns records to latest #4

Update dns records to latest

Update dns records to latest #4

Workflow file for this run

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}