few minor actions workflow changes
All checks were successful
Actions / Build Export Files (push) Successful in 7s
Actions / Autotagger (push) Successful in 11s
Actions / Build Documentation (push) Successful in 25s

This commit is contained in:
cswimr 2024-10-21 16:58:05 -04:00
parent 76411ff9bb
commit 03460b4ded
Signed by: cswimr
GPG key ID: A9C162E867C851FA

View file

@ -1,13 +1,13 @@
name: Actions name: Actions
on: on:
push: push:
branches: pull_request:
- 'master'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build_documentation: docs:
name: Build Documentation name: Build Documentation
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push'
runs-on: docker runs-on: docker
container: www.coastalcommits.com/cswimr/actions:docs container: www.coastalcommits.com/cswimr/actions:docs
steps: steps:
@ -39,14 +39,14 @@ jobs:
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$CI_ACTION_REF_NAME_SLUG${YELLOW}...\n" 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 "\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/" echo "${GREEN}https://$CI_ACTION_REF_NAME_SLUG.docs.galacticfactory.cc/"
env: env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }} GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
build_export_files: export:
name: Build Export Files name: Build Export Files
runs-on: docker runs-on: docker
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
@ -102,6 +102,7 @@ jobs:
autotagger: autotagger:
name: Autotagger name: Autotagger
if: github.event_name == 'push' && github.ref_name == 'master'
runs-on: docker runs-on: docker
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
steps: steps: