add immich reverse geocoding #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] # push 代码时触发 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Upload to tencent | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
JEKYLL_ENV: production | |
run: | | |
sudo apt install ruby-full build-essential zlib1g-dev | |
sudo gem install jekyll bundler | |
sudo bundle install | |
bundle exec jekyll build --trace | |
ls | |
# # 使用云开发 Github Action 部署 | |
# - name: Deploy static to Tencent CloudBase | |
# id: deployStatic | |
# uses: TencentCloudBase/[email protected] | |
# with: | |
# # 云开发的访问密钥 secretId 和 secretKey | |
# secretId: ${{ secrets.SECRET_ID }} | |
# secretKey: ${{ secrets.SECRET_KEY }} | |
# # 云开发的环境id | |
# envId: ${{ secrets.ENV_ID }} | |
# # Github 项目静态文件的路径 | |
# staticSrcPath: _site | |
- name: Tencent Cloud COS Action | |
# uses: TencentCloud/cos-action@v1 | |
uses: ZingLix/cos-action@V1-fix | |
with: | |
secret_id: ${{ secrets.SECRET_ID }} | |
secret_key: ${{ secrets.SECRET_KEY }} | |
cos_bucket: ${{ secrets.COS_BUCKET }} | |
cos_region: ${{ secrets.COS_REGION }} | |
local_path: _site | |
remote_path: / | |
clean: true | |
# accelerate: true |