Skip to content

Commit

Permalink
ci: updated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaxlexx committed Aug 23, 2024
1 parent 964871a commit dc07061
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: acelords
open_collective: # Replace with a single Open Collective username
ko_fi: acelords
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
6 changes: 0 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- uses: actions/checkout@v4

- name: Notify slack success
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' && success() }}
id: slack # IMPORTANT: reference this step ID value in future Slack steps
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
Expand All @@ -45,7 +44,6 @@ jobs:
color: warning

- name: Notify slack success
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' && success() }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -57,7 +55,6 @@ jobs:
color: warning

- name: Notify slack fail
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' && failure() }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -68,7 +65,6 @@ jobs:

# Deploy to prod server
- name: Deploying System
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
Expand All @@ -89,7 +85,6 @@ jobs:
./run.sh
- name: Notify slack success
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' && success() }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -101,7 +96,6 @@ jobs:
color: good

- name: Notify slack fail
if: ${{ steps.check_patch_version.outputs.patch_version_changed == 'true' && failure() }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
Expand Down

0 comments on commit dc07061

Please sign in to comment.