rsync -chav --delete --exclude /.git/ --exclude /node_modules/ ./ ssh-user@example.com:/mydir 创建GitHub Action工作流 通过GitHub Actions,我们可以配置工作流来运行在任何GitHub事件上。 首先,我们进入版本库的"Actions"标签,然后点击"Set up a workflow yourself"。这将打开工作流编辑器,并产生一个....
Deploy your plugin to the WordPress.org repository using GitHub Actions. This Action commits the contents of your Git tag to the WordPress.org plugin repository using the same tag name. It can exclude files as defined in either .distignore or .gitattributes, and moves anything from a .wordpre...
Deploy readme and asset updates to the WordPress Plugin Repository. This Action commits any readme and WordPress.org-specific assets changes in your specified branch to the WordPress.org plugin repository if no other changes have been made since the last deployment to WordPress.org. This is usefu...
git commit -m "Refresh yuque json" -a git pull origin master-name:推送文章到仓库uses:ad-m/github-push-action@masterwith:# GITHUB_TOKEN不用配置在secretsgithub_token:${{secrets.GITHUB_TOKEN}}-name:生成静态文件run:|pnpm run hexo:clean pnpm run hexo:build-name:上传文章到cos并刷新CDNrun:|cos...
花了一些时间用hugo重新搭建了猫狗窝,托管在github page上,又利用github action实现了CI/CD。非常省心!做到了专注写文,直接发布的效果。本篇记录就是写一点发布一点,陆续成文。 下面就把这一次趟坑的过程总结一下,本系列包括三部分: 搭建本地服务 发布到Github Pages ...
暂时先使用测试的证书,创建测试证书的方法就是双击打包项目的 Package.appxmanifest 文件,点击打包,然后点击选择证书 点击创建然后输入名字点击确定就可以,请看下图 此时就创建了Foo_TemporaryKey.pfx证书文件,当然你的证书名应该和我不相同 在进行 GitHub 的 Action 构建的时候,需要将证书作为 base64 存放,存放在 GitHu...
花了一些时间用hugo重新搭建了猫狗窝,托管在github page上,又利用github action实现了CI/CD。非常省心!做到了专注写文,直接发布的效果。本篇记录就是写一点发布一点,陆续成文。 下面就把这一次趟坑的过程总结一下,本系列包括三部分: 搭建本地服务 发布到Github Pages ...
个人博客源仓库,对博客配置及所有文章.md源文件进行版本管理,配合 GitHub Action 进行自动化部署,自动生成静态站点推送到 GitHub Pages 博客发布仓库。 GitHub Pages 博客发布仓库,以username.github.io形式命名的仓库,使用 GitHub Pages 实现网站部署,可以通过域名 CNAME 解析使用自定义域名。
如果使用服务器的话,就丧失了使用 Hexo 的最大的优点——节省开支,而且还不如用Typecho/WordPress呢。 后来突然想到GitHub Action可以实现在线打包等操作,就想试试在线生成 Hexo 博客。 行动 获取GitHub 令牌 登录你的GitHub账号,点击右上角的头像,点击「Settings」进入设置。
pnpm/action-setup@v2.2.4with:version:7-name:安装node环境uses:actions/setup-node@masterwith:node-version:"16"cache:"pnpm"# - name: 缓存依赖# uses: actions/cache@v1# id: cache# with:# path: node_modules# key: ${{runner.OS}}-${{hashFiles('**/package-lock.json')}}-name:安装依赖...