GitHub Actions:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
第3行: 第3行:
== 範例 ==
== 範例 ==


* 在[https://github.com/gslin/test-githubactions test-githubactions]這邊有範例,主要是這兩個檔案:
=== test-githubactions ===
** https://github.com/gslin/test-githubactions/blob/main/.github/workflows/default.yml
 
** https://github.com/gslin/test-githubactions/blob/main/scripts/setup.sh
 在[https://github.com/gslin/test-githubactions test-githubactions]這邊有範例,主要是這兩個檔案:
 
* https://github.com/gslin/test-githubactions/blob/main/.github/workflows/default.yml
* https://github.com/gslin/test-githubactions/blob/main/scripts/setup.sh
 
前置作業包括了:
 
* SSH的Port 222要打開。
* 建立<code>service-${PROJECT_NAME}</code>帳號及對應家目錄。
* 透過<code>sudo loginctl enable-linger service-${PROJECT_NAME}</code>啟用使用者本身的[[systemd]]。


== 相關連結 ==
== 相關連結 ==

2024年6月14日 (五) 06:49的版本

GitHub ActionsGitHub提供的CI/CD服务。

范例

test-githubactions

test-githubactions这边有范例,主要是这两个档案:

前置作业包括了:

  • SSH的Port 222要打开。
  • 建立service-${PROJECT_NAME}帐号及对应家目录。
  • 透过sudo loginctl enable-linger service-${PROJECT_NAME}启用使用者本身的systemd

相关连结

外部连结