首页 > TAG信息列表 > actions

使用 GitHub Actions 将容器镜像推送到 GitHub Container Registry

我的工作中,我构建了很多与客户分享的示例,以向他们展示事情是如何运作的。我的很多客户都对 Azure 容器应用程序感兴趣,所以我希望能够为他们提供带有预构建容器映像的示例,而不必共享整个应用程序源代码(尤其是如果我有一堆的基本微服务,实际上并不需要包含在示例中)。进入 GitHub 容器

C#教程 - Lambda Expressions

更新记录 转载请注明出处:https://www.cnblogs.com/cqpanda/p/16690958.html 2022年9月17日 发布。 2022年9月10日 从笔记迁移到博客。 Lambda Expressions说明 在匿名函数的基础上删除delegate关键字 在参数列表和函数体之间添加=>符号 语法: (parameters) => expression-or-stat

Pinia VS Vuex

Pinia和Vuex一样都是是vue的全局状态管理器。其实Pinia就是Vuex5,只不过为了尊重原作者的贡献就沿用了这个看起来很甜的名字Pinia。 本文将通过Vue3的形式对两者的不同实现方式进行对比,让你在以后工作中无论使用到Pinia还是Vuex的时候都能够游刃有余。 既然我们要对比两者的实现方

GitHub——自动发布NPM包

前言 原理很简单,就是利用github的actions去触发上传到npm平台; 内容 ?> 主要分为两个步骤: 1. 在NPM平台生成token 2. github配置secrets/actions NPM生成token 登录npm平台, 生成一个token; GitHub配置secrets 登录Github平台, 配置secrets, 增加一个环境变量; GitHub配置acti

vue3+vuex 的 actions 的 使用

<template> <div class="app"> 姓名:{{$store.state.nameVuex}} <button @click="btn">基本方法 : 修改名字</button> <br/> <button @click="btn1">传递值 : 修改名字</button> <h3>方法

vuex 的模块中如何调用 actions 中的方法

 模块vuexTest.js /** * 模块vuexTest.js */ export default { namespaced: true, actions: { actionsHello(context, val) { console.log(context, "context"); // 与 store 实例具有相同方法和属性的 context 对象 属性有 state、getters、rootGetters、rootState、commit、di

用GitHub Actions自动部署Hexo

什么是 GitHub Actions ? GitHub Actions 是一个 CI/CD(持续集成/持续部署)工具,GitHub 于 2018 年 10 月推出,正式版于 2019 年 11 月正式推出。 本文假设你已经有了自己的 hexo 静态博客,因此只简单介绍了自动化部署需要的设置。 创建代码仓库 1.我已经有了 tonywdy.github.io 仓库

create GitHub Actions and publish GitHub Actions All In One

create GitHub Actions and publish GitHub Actions All In One how to create your own GitHub Actions and publish it Create a JavaScript Action using TypeScript https://github.com/actions/typescript-action https://www.thisdot.co/blog/creating-your-own-githu

centos7,iptables修改后无法保存

在centos7上,经常修改了iptables规则后,重启后规则就没了。有些地方使用使用 iptables-save,然而并无卵用; 正确的保存操作是 service iptables save $ service iptables save The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, forc

如何使用 GitHub Actions 发布 Gatsby 静态网站 All In One

如何使用 GitHub Actions 发布 Gatsby 静态网站 All In One SSG 静态网站生成器 gatsby-gh-pages-action https://github.com/enriikke/gatsby-gh-pages-action secrets.ACCESS_TOKEN name: Gatsby Auto Publish on: push: branches: - main jobs: build: r

command

Command may refer to: Computing Command (computing), a statement in a computer language COMMAND.COM, the default operating system shell and command-line interpreter for DOS Command key, a modifier key on Apple Macintosh computer keyboards Command patter

Vuex 公共状态管理持久化处理

为什么需要持久化处理? 如果不做初始化,刷新页面,vuex中代码重新执行,数据就会丢失。(把数据存储到本地) 持久化处理方法 1、安装 vuex-persistedstate 插件 传送门:https://juejin.cn/post/6918684399659646989 传送门:https://juejin.cn/post/7006890304217284638 2、手动持久化处理

Vue2与Vue3在搭建 Vuex 环境时的不同

首先下载安装vuex ,命令:npm i vuex接着在src文件夹下创建store文件夹,在store文件夹下继续创建index.js,该文件用于创建Vuex中最为核心的storeVue2中的使用:在index.js中加入以下代码 import Vue from 'vue' import Vuex from 'vuex' // 引入Vuex Vue.use(Vuex) // 应用Vuex插件 con

如何构建一个自己的 GitHub Actions All In One

如何构建一个自己的 GitHub Actions All In One GitHub Actions demo https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/lib.ts https://github.com/JamesIves/github-pages-deploy-action/blob/dev/package.json 核心依赖 @actions/core "dependen

【重点突破】—— pinia中文文档学习之action处理业务逻辑

Actions 相当于组件中的 methods。 actions 可以是异步的,您可以在其中await 任何 API 调用甚至其他操作!

GitHub Actions & GITHUB_TOKEN All In One

GitHub Actions & GITHUB_TOKEN All In One Actions secrets # usage https://github.com/xgqfrms/GitHub-Actions-All-in-One/settings/secrets/actions step by step tutorials add https://github.com/xgqfrms/wcui/settings/secrets/actions new GIT_COM

基于 Github Actions 自动部署 Hexo 博客

前言 前不久使用了 Hexo 搭建独立博客,我是部署在我的腾讯云轻量应用服务器上的,每次都需要 hexo deploy 然后打包、上传、解压和刷新 CDN,非常麻烦。我的服务器配置也不高 2C2G 无法安装 Jenkins,所以采用了比较简单和免费的 Github Actions 来进行打包、上传。然后我自己写了一个 Ag

记录一下github actions 工作流

Github示例 官方以及第三方提供的actions github actions说明 github官方说明 适用php的示例 swoole test.yml 借用 hyperf/component-creator 点击查看代码 name: PHPUnit on: [ push, pull_request ] env: SWOOLE_VERSION: '4.8.10' SWOW_VERSION: 'develop' jo

【Django Admin】 二次开发-权限

# 判断 动态返回显示字段 self.list_display = ('name', 'head_picture', 'sex', 'interest', 'is_staff', 'age', 'score_custom', 'time', 'date') def get_list_display(sel

Vue组件间通信-- Vuex/8

1.概念 ​ 在Vue中实现集中式状态(数据)管理的一个Vue插件,对vue应用中多个组件的共享状态进行集中式的管理(读/写),也是一种组件间通信的方式,且适用于任意组件间通信。 2.何时使用? ​ 多个组件需要共享数据时 3.搭建vuex环境 创建文件:src/store/index.js //引入Vue核心库 import Vu

Vuex

state:state就是Vuex中的数据仓库,用于存储所有组件的公共数据,数据需初始化且不支持直接修改。需要修改state中的数据需要经过mutations中的方法进行处理。(直接获取state中的数据只需要在需要使用的组件页面中通过this.$store.state来获取我们定义的数据。) getters:这是个计算属

Github 仓库 Action workflow

... 参考文档: https://docs.github.com/cn/actions/quickstart https://docs.github.com/cn/actions/learn-github-actions/understanding-github-actions

OutSystems培训

目录OutSystems培训1 概述(Overview)1.1 OutSystems 概述1.2 Service Studio 概述2 用户界面(UI)2.1 表单(Forms)2.1.1 构建2.1.2 校验3 逻辑(Logic)3.1 Actions3.2 异常(Exceptions)4 数据(Data)4.1 数据建模(Modeling Data)4.2 数据聚合(Aggregates)4.3 高级数据聚合(Advanced Aggregates)4.4 数据

intellij generate main method

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000095864-I-need-main-method-generation   I need main() method generation FOLLOW answered Borucki Andrzej Created February 16, 2017 02:32   I created new project, new class (Main.

Vuex学习

Vuex的五个属性值 1.state---存储的数据 2.mutation---公有方法 $commit触发 3.getter---存放操作state的数据的处理函数 4.action---异步提交mutation $dispatch触发 5.modules---vuex模块化 --mapState 映射状态计算属性 actions异步 actions异步提交mutations actions:{