<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ### 使用github actions部署 - github actions 實際就是一個ci/cd工具,github官方介紹:GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. Make code reviews, branch management, and issue triaging work the way you want.https://github.com/features/actions 1. 選擇你的repository:https://github.com/clouda3/gohugo.me , 選擇actions 2. setup workflow 3. 右側marketplace,搜索hugo 4. 選擇對應的workflow 5. 來創建.github/workflows/main.yml ``` name: github pages on: push: branches: - master jobs: build-deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 # with: # submodules: true - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: hugo-version: '0.59.1' # extended: true - name: Build run: hugo --minify - name: Deploy uses: clouda3/actions-gh-pages@master env: GITHUB_ANOTHER_REPOSITORY: clouda3/clouda3.github.io PERSONAL_TOKEN: xxxxx PUBLISH_BRANCH: master PUBLISH_DIR: ./public ``` 1. deploy uses選擇自己的腳本,這個是從actions-gh-pages branch出來的,因為他不支持deploy到另外一個repository里面,所以我做了修改了,允許將生成完畢的html代碼發布到另外一個repository里面 2. 執行了actions之后檢查clouda3/clouda3.github.io里面代碼發生了更新 - 總結 3. 使用actions做ci/cd之后,我們只需要push我們的md文件就可以了,也就是說基本上我們把他當作一個cms就可以了
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看