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
|
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:
|
||||||
|
|
Reference in a new issue