Skip to content

v1.0.0

v1.0.0 #4

Workflow file for this run

name: Publish
on:
release:
types: [published, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Install deps and build
run: npm ci && npm run build
- uses: JasonEtco/build-and-tag-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: ${{ github.event.release.tag_name }}
- name: Notify Campsite
uses: ./
with:
api_key: ${{ secrets.CAMPSITE_API_KEY }}
action_type: create_message
content: "Version ${{ github.event.release.tag_name }} of `campsite-github-action` is now available. Check out the [changelog](${{ github.event.release.html_url }}) for details."
thread_id: ${{ secrets.CAMPSITE_GITHUB_THREAD_ID }}