how to publish a dart package using Github Actions? dart package flutter package Github Actions publish bug # get credentials.json $ flutter pub uploader add xgqfrms@gmail.com $ killall -9 dart domain bug Waiting for your authorization... Authorizati…
How to Publish a NuGet Package Command line To push packages to nuget.org you must use nuget.exe v4.1.0 or above, which implements the required NuGet protocols. You also need an API key, which is created on nuget.org. Create API keys Sign into your n…
How to using PyPI publish a Python package PyPI & Python package https://pypi.org/ main make a file that can be both imported as a module and run as a script. To do this, place script code inside if name == "main". This ensures that it won't…
GitHub Actions & GitHub Secrets tokens & private variable GitHub Secrets https://github.com/xgqfrms/dart-library-package/settings/secrets tokens access token & refresh token { "accessToken": "<YOUR_ACCESS_TOKEN>", &qu…
GitHub Actions in Action https://lab.github.com/githubtraining/github-actions:-hello-world https://github.com/xgqfrms/hello-github-actions/issues/1 https://github.com/xgqfrms/hello-github-actions/issues/3 https://github.com/xgqfrms/webpack-plugin/act…
自从 GitHub 宣布 GitHub Actions 在平台上对所有开发人员和存储库可用以来,GitHub Actions 越来越受欢迎.很多第三方平台在生态系统中有速度等限制,将进一步推动开发人员将他们的软件自动化迁移到 GitHub Actions. 在本文中,我想向你展示我如何使用 GitHub Actions 发布我在开源项目中维护的 npm 包.如果你遵循由 GitHub 拉取请求工作流程组成的 GitHub 流程,那么这将进一步统一团队和社区贡献者的工作流程的和提升他们的体验. G…
前言 前不久使用了 Hexo 搭建独立博客,我是部署在我的腾讯云轻量应用服务器上的,每次都需要 hexo deploy 然后打包.上传.解压和刷新 CDN,非常麻烦.我的服务器配置也不高 2C2G 无法安装 Jenkins,所以采用了比较简单和免费的 Github Actions 来进行打包.上传.然后我自己写了一个 Agent 来做解压和刷新 CDN 的工作,整套流程完全自动化. 如果 Hexo 博客是放在 OSS 存储里的,比如腾讯云 COS,可以不使用 Agent,直接通过 Github…
使用Linux.Nginx和Github Actions托管部署ASP.NET Core 6.0应用 前言 本文主要参考微软这篇文档而来 Host ASP.NET Core on Linux with Nginx,并使用Github Actions做CI&CD,部署到阿里云服务器,所有步骤均亲测可用. 你需要有 Linux云服务器(本文使用的是阿里云Ubantu 22.04 64位) SSH客户端(我使用的XShell, 官网 可以下载免费的家庭/学校版) Github账号以及能流程访问^ 项目…
一.Hexo 相关知识点 静态博客简单,但是发布博文时稍显麻烦,一般需要下面两步: hexo clean hexo g -d // 相当于 hexo g + hexo d 如果考虑到同步源文件,还需要每次更改后,将源文件 push 到指定仓库: git push origin master 我们可以将 Hexo 文件分为两类,一类是源文件,即下面这些文件: . ├── _config.yml ├── package.json ├── scaffolds ├── source | ├── _dra…
最新博客链接 Github链接 查看此文档前应先了解,vuepress基本操作 参考官方文档进行配置: vuepress-theme-reco VuePress SamKirkland / FTP-Deploy-Action 最终效果 最终效果链接 思路 下载vuepress-theme-reco官方的主题模板(脚手架),再根据自己的需要进行相应的修改,再根据自己的服务器配置Github Actions文件,最后上传到Github,触发Github Actions自动构建部署到第三方服务器.以后…