Yii2 使用 GitHub 操作部署

Yii2 deploy using GitHub actions

我使用以下配置来部署具有 GitHub 个操作的 Yii2 应用程序:

name: Build and Deploy - DEV
on:
  push:
    branches:
      - development

jobs:
  build:
    name: Build and Deploy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@master

      - name: Setup Enviroment
        uses: shivammathur/setup-php@v2
        with:
          php-version: '7.2'

      - name: Install Packages
        run: composer install --no-dev --optimize-autoloader

      - name: Deploy to Server
        uses: yiier/yii2-base-deploy@master
        with:
          user: github
          host: ${{ host }}
          path: ${{ path }}
          owner: github
        env:
          DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
        
      - name: Apply migration
        run: php yii migrate --interactive=0

它工作得很好,但现在出现这个错误:

Current runner version: '2.285.1'
Operating System
Virtual Environment
Virtual Environment Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: Unable to resolve action `yiier/yii2-base-deploy@master`, repository not found

似乎 yiier/yii2-base-deploy@master 已不存在。

有人知道替代品吗?

谢谢!

感谢 SiZE 的评论,我记得我已经 fork 了原始 repo。