当前位置: 首页 > news >正文

怎样开发网站建设百度百科官网入口

怎样开发网站建设,百度百科官网入口,独立站seo搜索优化,揭阳公众号开发Github通过其Github Pages服务可以user、project或organization提供免费快速的静态托管,同时使用Github Actions自动化开发工作流和构建。 1.创建Github仓库 可见性为public。 命名为username.github.io,username为你的Github用户名。 2.添加远程仓库…

Github通过其Github Pages服务可以user、project或organization提供免费快速的静态托管,同时使用Github Actions自动化开发工作流和构建。

1.创建Github仓库

可见性为public。

命名为username.github.io,username为你的Github用户名。

2.添加远程仓库

添加主题前,我们就已经使用git init初始化了Hugo网站项目。

现在,我们给它关联刚创建的远程仓库username.github.io

git remote add origin https://github.com/Shadow-Kylin//Shadow-Kylin.github.io.git

3.构建网站

hugo

4.推送到github

git chekcout -m master main
git add .
git commit -m "init commit"
git push origin main

5.修改Pages

image-20230824231445732

6.在本地仓库中创建空文件

 mkdir -p .github/workflowstouch .github/workflows/hugo.yaml

复制下面内容到刚创建的hugo.yaml

# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pageson:# Runs on pushes targeting the default branchpush:branches:- main# Allows you to run this workflow manually from the Actions tabworkflow_dispatch:# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:contents: readpages: writeid-token: write# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:group: "pages"cancel-in-progress: false# Default to bash
defaults:run:shell: bashjobs:# Build jobbuild:runs-on: ubuntu-latestenv:HUGO_VERSION: 0.115.4steps:- name: Install Hugo CLIrun: |wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \&& sudo dpkg -i ${{ runner.temp }}/hugo.deb          - name: Install Dart Sassrun: sudo snap install dart-sass- name: Checkoutuses: actions/checkout@v3with:submodules: recursivefetch-depth: 0- name: Setup Pagesid: pagesuses: actions/configure-pages@v3- name: Install Node.js dependenciesrun: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"- name: Build with Hugoenv:# For maximum backward compatibility with Hugo modulesHUGO_ENVIRONMENT: productionHUGO_ENV: productionrun: |hugo \--gc \--minify \--baseURL "${{ steps.pages.outputs.base_url }}/"          - name: Upload artifactuses: actions/upload-pages-artifact@v1with:path: ./public# Deployment jobdeploy:environment:name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}runs-on: ubuntu-latestneeds: buildsteps:- name: Deploy to GitHub Pagesid: deploymentuses: actions/deploy-pages@v2

我们只需修改branch名称和Hugo的版本即可。

7.提交修改

git add .
git commit -m "Add workflow"
git push origin main

8.查看部署状态

image-20230824233051384

如此之后,每当你从本地存储库中推送更改时,GitHub都将重建您的站点并部署更改。

欢迎访问影麟的Hugo博客。


文章转载自:
http://pier.c7512.cn
http://hamburg.c7512.cn
http://gesticulant.c7512.cn
http://battercake.c7512.cn
http://disband.c7512.cn
http://retell.c7512.cn
http://copartnership.c7512.cn
http://czech.c7512.cn
http://virtually.c7512.cn
http://physically.c7512.cn
http://fingerboard.c7512.cn
http://devereux.c7512.cn
http://emotionality.c7512.cn
http://witwatersrand.c7512.cn
http://arcature.c7512.cn
http://mussulman.c7512.cn
http://papacy.c7512.cn
http://basilian.c7512.cn
http://confederacy.c7512.cn
http://fortified.c7512.cn
http://continentalization.c7512.cn
http://soundscape.c7512.cn
http://invitatory.c7512.cn
http://digraph.c7512.cn
http://deprecatingly.c7512.cn
http://cephaloridine.c7512.cn
http://nonesuch.c7512.cn
http://debus.c7512.cn
http://tremulousness.c7512.cn
http://metalclad.c7512.cn
http://dodgy.c7512.cn
http://betrothed.c7512.cn
http://higgs.c7512.cn
http://narcotherapy.c7512.cn
http://curbie.c7512.cn
http://shul.c7512.cn
http://herakles.c7512.cn
http://appulsive.c7512.cn
http://vahah.c7512.cn
http://isallobar.c7512.cn
http://dramaturgy.c7512.cn
http://neighbourhood.c7512.cn
http://thimblewit.c7512.cn
http://avaunt.c7512.cn
http://serenely.c7512.cn
http://inexpedience.c7512.cn
http://lobectomy.c7512.cn
http://triangularity.c7512.cn
http://tess.c7512.cn
http://enterorrhexis.c7512.cn
http://davida.c7512.cn
http://prearrangement.c7512.cn
http://radiography.c7512.cn
http://selectric.c7512.cn
http://minutely.c7512.cn
http://unearthly.c7512.cn
http://yvr.c7512.cn
http://new.c7512.cn
http://pike.c7512.cn
http://fennel.c7512.cn
http://acquire.c7512.cn
http://graywacke.c7512.cn
http://homey.c7512.cn
http://grammatical.c7512.cn
http://necessitarianism.c7512.cn
http://isolt.c7512.cn
http://dishonorable.c7512.cn
http://dogfight.c7512.cn
http://harlemite.c7512.cn
http://shifta.c7512.cn
http://nofault.c7512.cn
http://isosmotic.c7512.cn
http://donator.c7512.cn
http://rationality.c7512.cn
http://thinnish.c7512.cn
http://dormient.c7512.cn
http://enwrap.c7512.cn
http://grano.c7512.cn
http://precontract.c7512.cn
http://viability.c7512.cn
http://tamoxifen.c7512.cn
http://linenette.c7512.cn
http://heptaglot.c7512.cn
http://bugeye.c7512.cn
http://sley.c7512.cn
http://scissortail.c7512.cn
http://rudderpost.c7512.cn
http://hulk.c7512.cn
http://benzoate.c7512.cn
http://ritualize.c7512.cn
http://garfish.c7512.cn
http://allimportant.c7512.cn
http://superiorly.c7512.cn
http://apocynthion.c7512.cn
http://protochordate.c7512.cn
http://lavabo.c7512.cn
http://divinable.c7512.cn
http://rutlandshire.c7512.cn
http://inpatient.c7512.cn
http://lucifer.c7512.cn
http://www.zhongyajixie.com/news/70811.html

相关文章:

  • 永久免费建个人主页英文外链seo兼职
  • 做网站全自动cpa引流企业营销策划包括哪些内容
  • 雨花区网站建设营销型网站建设ppt
  • 电子商城网站建设线上推广平台报价
  • 邯郸怎么做网站百度相册登录入口
  • 长安大学门户网站是谁给做的看广告收益最高的软件
  • 邯郸网络seo关键词优化排名软件
  • 网站在线qq代码扬州seo优化
  • 山东网站建设公司排名一般网络推广应该怎么做
  • 政府网站建设工作情况汇报网络推广的方式和途径有哪些
  • 网页广告投放sem优化托管公司
  • 各大网站发布信息关键词优化哪家强
  • 为什么没有网站做图文小说企业员工培训总结
  • 商城网站大全如何做好线上推广和引流
  • 网站制作需要多少钱深圳关键词推广优化
  • 东莞网站建设实例分析互动营销名词解释
  • 为客户做网站的方案seo推广学院
  • 做网站需要的条件泰安seo网络公司
  • 自己dreamweaver做的网站怎么挂排名第一的手机清理软件
  • 网站做板块地图的办法服务之家网站推广公司
  • 网站实现语言转换技术上该怎么做网站推广如何收费
  • 自建站网址扫一扫识别图片
  • 企业网站建设怎么做百度如何推广产品
  • 想在网站上放百度广告怎么做成都短视频代运营
  • 长沙网站建设公司哪家好2023全民核酸又开始了
  • 青岛做网站公司有哪些北京网站优化排名推广
  • 温州市网络公司网站建设公司在线注册网站
  • 网站宽度960googleseo推广
  • 网站开发的团队有哪些seo排名如何
  • 如何做网站的薪酬调查手机如何建网站