Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy-web-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
steps:
- name: Compute deploy path
id: compute-path
uses: kryota-dev/actions/.github/actions/compute-web-hosting-deploy-path@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/compute-web-hosting-deploy-path@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
base-path-prefix: ${{ inputs.base-path-prefix }}
production-branch: ${{ inputs.production-branch }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
# --- FTP Deploy ---
- name: Deploy to web hosting via FTP
if: ${{ inputs.deploy-type == 'ftp' }}
uses: kryota-dev/actions/.github/actions/deploy-web-hosting-ftp@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/deploy-web-hosting-ftp@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
base-path: ${{ steps.compute-path.outputs.deploy-path }}
output-dir: ${{ inputs.output-dir }}
Expand All @@ -117,7 +117,7 @@ jobs:
# --- rsync Deploy ---
- name: Deploy to web hosting via rsync
if: ${{ inputs.deploy-type == 'rsync' }}
uses: kryota-dev/actions/.github/actions/deploy-web-hosting-rsync@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/deploy-web-hosting-rsync@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
base-path: ${{ steps.compute-path.outputs.deploy-path }}
output-dir: ${{ inputs.output-dir }}
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
# --- Slack Notifications ---
- name: Notify Slack (Deploy Success)
if: ${{ success() && github.event_name != 'pull_request' && steps.check-slack.outputs.success-enabled == 'true' }}
uses: kryota-dev/actions/.github/actions/slack-notify-success@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/slack-notify-success@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
channel-id: ${{ secrets.slack-channel-id }}
bot-oauth-token: ${{ secrets.slack-bot-oauth-token }}
Expand All @@ -169,7 +169,7 @@ jobs:

- name: Notify Slack (Deploy Failure)
if: ${{ failure() && github.event_name != 'pull_request' && steps.check-slack.outputs.failure-enabled == 'true' }}
uses: kryota-dev/actions/.github/actions/slack-notify-failure@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/slack-notify-failure@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
webhook-url: ${{ secrets.slack-webhook-url }}
mention-user: ${{ secrets.slack-mention-user }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/undeploy-web-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
steps:
- name: Compute deploy path
id: compute-path
uses: kryota-dev/actions/.github/actions/compute-web-hosting-deploy-path@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/compute-web-hosting-deploy-path@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
base-path-prefix: ${{ inputs.base-path-prefix }}
production-branch: ${{ inputs.production-branch }}
Expand All @@ -63,7 +63,7 @@ jobs:
# --- FTP Delete ---
- name: Undeploy from web hosting via FTP
if: ${{ inputs.deploy-type == 'ftp' }}
uses: kryota-dev/actions/.github/actions/undeploy-web-hosting-ftp@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/undeploy-web-hosting-ftp@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
ftp-server: ${{ secrets.server-host }}
ftp-username: ${{ secrets.server-user }}
Expand All @@ -74,7 +74,7 @@ jobs:
# --- rsync Delete ---
- name: Undeploy from web hosting via rsync
if: ${{ inputs.deploy-type == 'rsync' }}
uses: kryota-dev/actions/.github/actions/undeploy-web-hosting-rsync@568519d2e5e2722d8d2340f594f6af3e1564852e # v0.0.7
uses: kryota-dev/actions/.github/actions/undeploy-web-hosting-rsync@3b272b2a6373f12ef037d218f6202874c0dce80b # v0.2.0
with:
ssh-host: ${{ secrets.server-host }}
ssh-user: ${{ secrets.server-user }}
Expand Down
Loading