Skip to content

Commit

Permalink
dispatch-file
Browse files Browse the repository at this point in the history
  • Loading branch information
Myrdrahl committed Aug 29, 2023
1 parent c1c4752 commit fc181d8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: nin-data-lastejobb
on:
push:
branches: [ master, updates ]

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -28,4 +28,4 @@ jobs:
tag: v_${{ github.run_number }}
- name: post to slack
run: ./.github/workflows/slack.sh ${{ secrets.POST_SLACK }}
shell: bash
shell: bash
30 changes: 30 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: nin-data-lastejobb

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm install
- run: npm update
- run: npm run download
- run: npm run transform
- name: Run deployment script
run: ./.github/workflows/deploy.sh
shell: bash
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "artifacts.tar"
tag: v_${{ github.run_number }}
- name: post to slack
run: ./.github/workflows/slack.sh ${{ secrets.POST_SLACK }}
shell: bash

0 comments on commit fc181d8

Please sign in to comment.