few minor actions workflow changes
This commit is contained in:
parent
76411ff9bb
commit
03460b4ded
1 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
|||
name: Actions
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_documentation:
|
||||
docs:
|
||||
name: Build Documentation
|
||||
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push'
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/cswimr/actions:docs
|
||||
steps:
|
||||
|
@ -39,14 +39,14 @@ jobs:
|
|||
|
||||
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$CI_ACTION_REF_NAME_SLUG${YELLOW}...\n"
|
||||
|
||||
npx -p "@getmeli/cli" meli upload ./site --url "https://pages.coastalcommits.com" --site "${{ vars.MELI_SITE_ID }}" --token "${{ secrets.MELI_SECRET }}" --release "$CI_ACTION_REF_NAME_SLUG/${{ env.GITHUB_SHA }}" --branch "$CI_ACTION_REF_NAME_SLUG"
|
||||
npx -p "@getmeli/cli" meli upload ./site --url "https://pages.coastalcommits.com" --site "${{ vars.MELI_SITE_ID }}" --token "${{ secrets.MELI_TOKEN }}" --release "$CI_ACTION_REF_NAME_SLUG/${{ env.GITHUB_SHA }}" --branch "$CI_ACTION_REF_NAME_SLUG"
|
||||
|
||||
echo "\n${YELLOW}Deployed to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$CI_ACTION_REF_NAME_SLUG${YELLOW}!"
|
||||
echo "${GREEN}https://$CI_ACTION_REF_NAME_SLUG.docs.galacticfactory.cc/"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
|
||||
build_export_files:
|
||||
export:
|
||||
name: Build Export Files
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
|
@ -102,6 +102,7 @@ jobs:
|
|||
|
||||
autotagger:
|
||||
name: Autotagger
|
||||
if: github.event_name == 'push' && github.ref_name == 'master'
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
|
Reference in a new issue