This repository has been archived by the owner on Dec 23, 2024. It is now read-only.
create workflow file to trigger Makefile #146
Workflow file for this run
This file contains 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: Trigger action for GOV.UK_co-cyber-security-external | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'security.txt' | ||
- 'thanks.txt' | ||
schedule: | ||
- cron: "0 2 * * MON-FRI" # Runs at 02:00 UTC | ||
workflow_dispatch: | ||
jobs: | ||
deploy-to-co-cyber-security-external: | ||
# Trigger makefile for co-cyber-security-external | ||
runs-on: ubuntu-latest | ||
# Steps represent a sequence of tasks that will be triggered and executed as part of the job | ||
steps: | ||
- name: Show workflow_run | ||
env: | ||
co-cyber-security-external | ||
name: Deploy to GOV.UK co-cyber-security-external | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: main | ||
- run: | | ||
cd main/ | ||
run: make deploy |